checkout: permit checkout of a single file
authorGiuseppe Scrivano <gscrivan@redhat.com>
Thu, 23 Oct 2014 13:38:44 +0000 (15:38 +0200)
committerColin Walters <walters@verbum.org>
Fri, 24 Oct 2014 15:18:45 +0000 (11:18 -0400)
commit7973a58607ebb8be9e75cbad71c02ac1b2f9c752
tree7820bdc00e2bfcdd679aa0ecb9f7e599711131e8
parent0c89abee6d1142b6b20ba2539eceece2cbd3b9eb
checkout: permit checkout of a single file

fixes a coredump when using a command like:

$ ostree --repo=repo checkout -U --subpath=/usr/lib/passwd \
  fedora-atomic/rawhide/x86_64/docker-host usrlib-new

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Makefile-tests.am
src/libostree/ostree-repo-checkout.c
tests/test-repo-checkout-subpath.sh [new file with mode: 0755]